Open Bug 1643748 Opened 5 years ago Updated 1 years ago

return xpcom-ified NSS error codes from constructX509*

Categories

(Core :: Security: PSM, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: keeler, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [psm-backlog])

See bug 1642789 and bug 1643498. nsIX509CertDB.constructX509 and nsIX509CertDB.constructX509FromBase64 don't return useful error codes. We can take the NSS error returned through PR_GetError() (note, not PORT_GetError()) and synthesize an nsresult with GetXPCOMFromNSSError.

Severity: -- → N/A
Priority: P2 → P3
You need to log in before you can comment on or make changes to this bug.